﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessObjects.BO_GetObjects;
using System.Data;

public partial class Controls_ListNews : Base_Controls
{
    protected void Page_Load(object sender, EventArgs e)
    {
        base.setField(Convert.ToInt32(this.Attributes["ID"]));
        if (!IsPostBack)
        {
            int lang = 0;
            if (base.Lang)
            {
                lang = 1;
            }
            base.bindRepeater(rptSemilar, BO_portal_articles.SelectLangByModule(Mid, base.PSize, lang));
            ObjDT = BO_portal_categories.Search(Convert.ToInt32(Request["CATEGORY_ID"]));
        }
    }
}